using MESBaseis.Domain.BaseEntities;

namespace MESBaseis.Domain.ZSHH
{
    /// <summary>
    /// 物品库存表
    /// </summary>
    public class ItemInventory : BaseModel
    {
        /// <summary>
        /// 物品ID
        /// </summary>
        public int ItemId { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; } = string.Empty;

        /// <summary>
        /// 库存数量
        /// </summary>
        public decimal Quantity { get; set; }

        /// <summary>
        /// 库存状态 (正常、冻结、报废)
        /// </summary>
        public string Status { get; set; } = "正常";

        // 导航属性
        public virtual Item Item { get; set; } = null!;
    }
}